﻿using MengLin.OOP.DesignPattern.ETC.Common;
using MengLin.OOP.DesignPattern.ETS.Evaluator.Abstract;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MengLin.OOP.DesignPattern.ETC.Evaluator.Implements
{
    /// <summary>
    /// 空间是否合适考察点
    /// </summary>
    public class SolutionSpaceFeature:AbstractEvaluator
    {
        private List<SolutionSpace> _solutionSpaceContainer = new List<SolutionSpace>();

        /// <summary>
        /// 去做评分
        /// </summary>
        /// <returns></returns>
        public override Score DoEvaluate()
        {
            foreach (var space in _solutionSpaceContainer)
            {
                NewSolutionSpace(space);
            }
            return Score.I;
        }

        /// <summary>
        /// 去做评分
        /// </summary>
        /// <returns></returns>
        public virtual void NewSolutionSpace(SolutionSpace solutionSpace)
        {
           
        }
    }
}
